#ifndef MAPSTATIONEDITVIEW_H
#define MAPSTATIONEDITVIEW_H

#include <QDialog>
#include <QStandardItemModel>
#include "onemap.h"


//class OneMap;
namespace Ui {
class MapStationEditView;
}

class MapStationEditView : public QDialog
{
    Q_OBJECT

public:
    explicit MapStationEditView(OneMap *oneMapIn,QWidget *parent = 0);
    ~MapStationEditView();

public slots:
    void showView_slot();


signals:
    void sig_propertyChanged(MapSpirit *spirit);
    void updateMapShow_signal();

private slots:
    void on_pushButton_setNewStationId_clicked();

    void on_pushButton_setNewRealCoordinate_clicked();
    void showChooseStation_slot();

    void on_pushButton_calculateRealCoordinate_clicked();

private:
    void showStationInfo();

private:
    Ui::MapStationEditView *ui;
    QStandardItemModel* model_stationInfo;
    OneMap *oneMap;//地图编辑器的一个map
};

#endif // MAPSTATIONEDITVIEW_H
